function a(a, t) {
    if (!(a instanceof t)) throw new TypeError("Cannot call a class as a function");
}

Object.defineProperty(exports, "__esModule", {
    value: !0
});

var t = function() {
    function a(a, t) {
        for (var i = 0; i < t.length; i++) {
            var n = t[i];
            n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), 
            Object.defineProperty(a, n.key, n);
        }
    }
    return function(t, i, n) {
        return i && a(t.prototype, i), n && a(t, n), t;
    };
}(), i = [], n = [];

i = [ "京", "津", "冀", "晋", "蒙", "辽", "吉", "黑", "沪", "苏", "浙", "皖", "闽", "赣", "鲁", "豫", "鄂", "湘", "粤", "桂", "琼", "渝", "川", "贵", "云", "藏", "陕", "甘", "青", "宁", "新" ], 
n = [ "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" ];

var e = function() {
    function e(t) {
        a(this, e), this.that = t, this.init();
    }
    return t(e, [ {
        key: "init",
        value: function() {
            var a = this, t = this.that;
            t.setData({
                chepai: i[9],
                chepais: i,
                zimu: n[0],
                zimus: n,
                value2: [ 9, 0 ]
            }), this.animationEvents(t, 200, !1), t.hiddenFloatView2 = function() {
                t.data.isShowPicker2 ? a.animationEvents(t, 200, !0) : (a.animationEvents(t, 0, !0), 
                t.setData({
                    value2: t.data.value2
                }));
            }, t.bindChange2 = function(a) {
                var i = a.detail.value;
                t.setData({
                    chepai: t.data.chepais[i[0]],
                    zimu: t.data.zimus[i[1]],
                    value2: i
                });
            };
        }
    }, {
        key: "animationEvents",
        value: function(a, t, i) {
            a.animation2 = wx.createAnimation({
                transformOrigin: "50% 50%",
                timingFunction: "ease",
                delay: 0
            }), a.animation2.translateY(t + "vh").step(), i ? a.setData({
                animation2: a.animation2.export(),
                isShowPicker2: !a.data.isShowPicker2
            }) : a.setData({
                animation2: a.animation2.export()
            });
        }
    } ]), e;
}();

exports.PickerChepai = e;